package security;

public class RightsAttributes 
{
	public static final String ATTRIB_TABLE_NAME = "tableName";
	public static final String ATTRIB_OWNER = "owner";
	public static final String ATTRIB_TARGET = "target";
	public static final String ATTRIB_SECURE_TABLE = "secureTable";
	public static final String ATTRIB_RIGHTS_LVL = "lvlInfo";
	
	public static final String RIGHT_READ = "R";
	public static final String RIGHT_MODIFY = "M";
	public static final String RIGHT_NONE = "N";
	
	private String tableName;
	private String owner;
	private String target;
	private String secureTable;		
	private String rightsInfo;
	
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public String getOwner() {
		return owner;
	}
	public void setOwner(String owner) {
		this.owner = owner;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public String getSecureTable() {
		return secureTable;
	}
	public void setSecureTable(String secureTable) {
		this.secureTable = secureTable;
	}
	public RightsAttributes(String tableName, String owner, String target,
			String secureTable,String rightsInfo) {
		super();
		this.tableName = tableName;
		this.owner = owner;
		this.target = target;
		this.secureTable = secureTable;
		this.rightsInfo = rightsInfo;
	}
	public RightsAttributes() {
		super();
	}
	public String getRightsInfo() {
		return rightsInfo;
	}
	public void setRightsInfo(String rightsInfo) {
		this.rightsInfo = rightsInfo;
	}
}
